/*
 *  Territory.h
 *  RiskAI
 *
 *  Created by Chris on 11/12/09.
 *  Copyright 2009 __MyCompanyName__. All rights reserved.
 *
 */

#ifndef TERRITORY_H_INCLUDED
#define TERRITORY_H_INCLUDED

#include <vector>
#include <string>

class CTerritory
{
public:
	
	CTerritory(int iIndex);
	~CTerritory();
	
	// Setup
	void AddBorder(int iIndex);
	
	
	// Basic Functionality
	int  GetIndex();
	
	int  GetOwner();
	void SetOwner(int iPlayer);
	
	void AddArmies(int iNumArmies);
	int  GetNumArmies();
	void SetNumArmies(int iNumArmies);
	
	std::vector<int> GetBorderIndices();	


	// Printing
	std::string ToString();
	
private:

	int m_iIndex;
	int m_iOwner;
	int m_iArmies;
	
	std::vector<int>	 m_viBorderIndices;
};

#endif // TERRITORY_H_INCLUDED